<?php class second_send extends Model {

    function __construct()
    {
        parent::__construct();
    }
    
    function truncate(){
    	return $this->db->truncate('second_send');
    }
    
    function insert($data){
    	$result = $this->db->insert('second_send',$data);
    	return $result;
    }
    
    function select_by_array($array){
    	$this->db->where($array);
    	$this->db->order_by('ss_id','asc');
    	$query = $this->db->get('second_send');
    	$result = $query->result();
    	return $result;
    }
    
}    